package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_vehicle_upgrade", desc = "珍兽升级", autoSave = true, uploadCk = true)
public class LogVehicleUpgrade extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "珍兽唯一id")
    private String vehicleUid;
    @FieldTypeAnnotation(desc = "珍兽配置id")
    private int templateId;
    @FieldTypeAnnotation(desc = "旧等级")
    private int oldLv;
    @FieldTypeAnnotation(desc = "新等级")
    private int level;
    @FieldTypeAnnotation(desc = "消耗")
    private String consume;

    public LogVehicleUpgrade(long userId, String vehicleUid, int templateId, int oldLv, int level, String consume) {
        this.userId = userId;
        this.vehicleUid = vehicleUid;
        this.templateId = templateId;
        this.oldLv = oldLv;
        this.level = level;
        this.consume = consume;
    }

    public long getUserId() {
        return userId;
    }

}
